﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="DQIntegerQuestion.ascx.vb" Inherits="UserControls_DQIntegerQuestion" %>
<asp:Label id="dqQuestion" runat="server" CssClass="DQQuestionText"></asp:Label><br/>
<asp:TextBox id="dqAnswer" runat="server" CssClass="DQAnswer" Columns="4" Width="100px"></asp:TextBox><br/>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
    runat="server" 
    ControlToValidate="dqAnswer"
    ErrorMessage="Required field!"
    Display="Dynamic"
    SetFocusOnError="true"
    CssClass="DQErrorMessage"></asp:RequiredFieldValidator>
<asp:CompareValidator id="CompareValidator1"
    runat="server"
    CssClass="DQErrorMessage"
    ErrorMessage="You must enter a number here!"
	ControlToValidate="dqAnswer"
    Type="Integer"
    Operator="DataTypeCheck"></asp:CompareValidator>

<asp:HiddenField ID="dqQuestionId" runat="server"></asp:HiddenField>